package com.xindacloud.sms.console.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author czc
 * @since 2019-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "交易记录")
public class SmsAccountTransation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 序列号，自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "ID", name = "主键id")
    private Long id;
    
    @ApiModelProperty(value="账号用户id",name="accoutUserId",notes = "用户id",example="", required = true)
    private Integer accountUserId;
    @ApiModelProperty(value="操作用户id",name="operatorId",notes = "用户id",example="", required = true)
    private Integer operatorId;

    @ApiModelProperty(value = "交易id", name = "transationId")
    private String transationId;
    @ApiModelProperty(value = "交易动作，+充值，-扣费", name = "transationAction")
    private String transationAction;
    @ApiModelProperty(value = "交易价格", name = "transationPrice")
    private String transationPrice;
    @ApiModelProperty(value = "交易货币", name = "currency")
    private String currency;
    @ApiModelProperty(value = "交易时间", name = "transationTime")
    private LocalDateTime transationTime;
  


}
